package com.jiaomatech.server;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * Description: 配置中心 .<br>
 *
 * @author jm
 *     created by 2019/8/29
 */
@EnableConfigServer
@SpringBootApplication
public class ConfigurationApplication {
    private final static Logger logger = LoggerFactory.getLogger(ConfigurationApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ConfigurationApplication.class, args);
        logger.info("配置中心启动成功");
    }
}
